Conversation
…CD filter Co-authored-by: gfauredev <19304085+gfauredev@users.noreply.github.com>
Co-authored-by: gfauredev <19304085+gfauredev@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add replay button on completed exercises for quick access
feat: replay button, notification fixes, clickable exercise tags, toast auto-dismiss, CD commit filter
Feb 26, 2026
🧪 Unit Tests & CoverageTest ResultsCoverage SummaryCoverage Gate ✅ PASSED — all tested files have ≥ 90% coverage
|
Co-authored-by: gfauredev <19304085+gfauredev@users.noreply.github.com>
Copilot
AI
changed the title
feat: replay button, notification fixes, clickable exercise tags, toast auto-dismiss, CD commit filter
fix: rename analytics CSS class to match e2e test selectors
Feb 27, 2026
… eval with web-sys scroll listener, use serde_wasm_bindgen for vibrate array Co-authored-by: gfauredev <19304085+gfauredev@users.noreply.github.com>
Replace all hardcoded color, gradient, border-radius, and surface values throughout styles.css with var() references to the design tokens defined in the :root block. One-off dark tints, rgba shadows, and the :root definitions themselves are intentionally left unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…into :root CSS custom properties Co-authored-by: gfauredev <19304085+gfauredev@users.noreply.github.com>
Copilot
AI
changed the title
fix: rename analytics CSS class to match e2e test selectors
refactor: replace js_sys calls with proper Rust crates, extract CSS design tokens
Feb 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Replace
js_sys::Date::now()anddioxus::document::eval()with idiomatic Rust equivalents. Extract hardcoded CSS colors/values into:rootcustom properties.js_sys→ proper Rust crate functionsjs_sys::Date::now()→time::OffsetDateTime::now_utc()across 4 call sites (models/mod.rs,services/exercise_db.rs×2,components/analytics.rs). Removes platformcfgbranching since thetimecrate (already a dep withwasm-bindgenfeature) handles both targets:dioxus::document::eval()→ web-sys event listener inexercise_list.rs: replaces inline JS string withwasm_bindgen::Closure+Reflect::setonwindow.onscrolljs_sys::Array→serde_wasm_bindgen::to_valuefor notification vibrate pattern insession_timers.rs"Element"toweb-sysfeatures for scroll position APIsRemaining
js_sysusage is only inwake_lock.rs(Wake Lock API has no typed web-sys bindings) and theReflect::setforwindow.onscrollassignment.CSS
:rootdesign tokensAdded
:rootblock with ~25 custom properties covering colors, gradients, surfaces, borders, text, and border-radius. Replaced 150+ hardcoded values withvar()references. One-off dark tints andrgba()shadows left as literals..analytics-panelclass fixRenamed CSS class from
.analyticsto.analytics-panelto match e2e test selectors (2 failing tests).Verification
121 unit tests, 31 e2e tests, clippy clean.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.